Repository navigation
test(e2e): Add a node-pi-durable end-to-end application - #24994
Conversation
size-limit report 📦
|
4086ec4 to
284747b
Compare
284747b to
c22dbd7
Compare
c22dbd7 to
c15fabf
Compare
c15fabf to
11517b6
Compare
5d261da to
9f735f8
Compare
9f735f8 to
07ef6c3
Compare
b871dfa to
66db439
Compare
andreiborza
left a comment
There was a problem hiding this comment.
Could we also send the data to sentry?
| @@ -0,0 +1,188 @@ | |||
| import { expect, test } from '@playwright/test'; | |||
There was a problem hiding this comment.
l: Let's use constants from sentry conventions as much as possible here too please.
66db439 to
e519aa4
Compare
We could. I just don't see the benefit yet of having a send-to-sentry test for this, unless you want to have 100% coverage of agentic harnesses / models being tested on deployed workers |
e519aa4 to
1cb9e0a
Compare
Hm no it's fine, let's ship without. |
df857f5 to
8151a76
Compare
8151a76 to
639b635
Compare
Covers what the node integration test cannot: the packed SDK, real model requests through pi-ai's `@anthropic-ai/sdk` path, SQLite storage, and a run that resumes after the server crashes during a tool call. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
639b635 to
78eae6e
Compare
Adds an E2E app for the pi-durable instrumentation. It covers what the node integration test cannot: the packed SDK loaded with
--import, real model requests through OpenRouter, SQLite storage, a subagent, and a run that resumes after the server crashes during a tool call. A small supervisor restarts the server for that case, as a process manager would.pi-ai sends
anthropic/claude-haiku-4.5through@anthropic-ai/sdk, so the first test also checks that each model request is reported once and that the provider's HTTP call nests inside itschatspan.The app is optional with a
latestvariant, becauseE2E_OPENROUTER_API_KEYis only available in the optional E2E job.🤖 Generated with Claude Code